package practice.library.elastic4s

/*import com.sksamuel.elastic4s.ElasticClient
import com.sksamuel.elastic4s.ElasticDsl._*/

/**
  * Created by lovepocky(lovepocky@foxmail.com) on 2016/5/30.
  */
object Elastic4sMain {
	def main(args: Array[String]) {
		//Elastic4s version 2.3.0
		/*import org.elasticsearch.common.settings.Settings
		val settings = Settings.settingsBuilder().put("cluster.name", "elasticsearch").build()
		val client = ElasticClient.transport(settings, "elasticsearch://192.168.1.160:9300")
		client.execute {
			create index "places"
		}*/
	}
}
